<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
	<head>
		<base href="<%=basePath%>">

		<title></title>
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/theme.css">
		<link rel="stylesheet"
			href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
		<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
			type="text/javascript"></script>
	</head>

	<body class="content1">
		<div class="header">
			<h1 class="page-title">
				
			</h1>
		</div>

		<ul class="breadcrumb">
			<li>
				<a href="index.html"></a>
				<span class="divider">/</span>
			</li>
			<li class="active">
				
			</li>
		</ul>

		<div class="container-fluid">
			<div class="row-fluid">
				<form method="post" action="applicationsave">
					<div class="btn-toolbar">
						<input type="submit" class="btn btn-primary" value="保存 ">
						<a href="applicationlist" class="btn">取消</a>
					</div>

					<div class="well">
						<div class="tab-pane active in">
							<input type="hidden" name="aptStatus"  value="3">
							<input type="hidden" name="accountId"  value="${item.accountId}">
							<label>
								申请单号：
							</label>
							<input type="text" name="aptId"  value="${item.aptId}">
							<label>
								申请人姓名：
							</label>
							<input type="text" name="aptTrueName" maxlength="10"
								value="${item.aptTrueName}">
							<label>
								申请时间：
							</label>
							<input type="text" name="aptTime" value="${item.aptTime}"
								maxlength="100">
							<label>
								申请金额：
							</label>
							<input type="text" name="aptAmount" value="${item.aptAmount}"
								maxlength="100">
							
							<label>
								购买车辆标价：
							</label>
							<input type="text" name="aptBuyCar" value="${item.aptBuyCar}"
								maxlength="100">
								<label>
								购买车辆：
							</label>
							<input type="text" name="aptCar" value="${item.aptCar}"
								maxlength="100">
							 <label>
								财务审核：
							</label>
						    <select name="aptCwsh">
								<c:choose>
									<c:when test="${item.aptCwsh==\"1\"}">
									<option value="1" selected="selected">通过审核</option>
									<option value="0">审核中</option>		
									</c:when>
									<c:otherwise>
									<option value="1">通过审核</option>
									<option value="0" selected="selected">审核中</option>	
									</c:otherwise>
								</c:choose>								
							</select>
						
						
							 <label>
								财务审核意见：
							</label>
							<input type="text" name="aptCwshYj" value="${item.aptCwshYj}"
								maxlength="100">
						<!-- start -->
							<input type="hidden" name="aptFksh" value="${item.aptFksh}"
								maxlength="100">
							
							<input type="hidden" name="aptFkshYj" value="${item.aptFkshYj}"
								maxlength="100">
							
							<input type="hidden" name="aptYwzgsh" value="${item.aptYwzgsh}"
								maxlength="100">
							
							<input type="hidden" name="aptYwzgshYj" value="${item.aptYwzgshYj}"
								maxlength="100">
							
							
							<input type="hidden" name="aptDysh" value="${item.aptDysh}"
								maxlength="100">
							
							<input type="hidden" name="aptDyshYj" value="${item.aptDyshYj}"
								maxlength="100">	
							
					<!-- end -->
							 <label>
								汇款确认：
							</label>
							<input type="text" name="aptAccountHkqr" value="${item.aptAccountHkqr}"
								maxlength="100">
							 <label>
								保证金：
							</label>
							<input type="text" name="aptAccountBzj" value="${item.aptAccountBzj}"
								maxlength="100">
							 <label>
								续保押金：
							</label>
							<input type="text" name="aptAccountXbyj" value="${item.aptAccountXbyj}"
								maxlength="100">
							<label>
								每期还款：
							</label>
							<input type="text" name="aptTerminally" value="${item.aptTerminally}"
								maxlength="100">
							 <label>
								本息合计：
							</label>
							<input type="text" name="aptTotal" value="${item.aptTotal}"
								maxlength="100">
							 <label>
								还款计划：
							</label>
							<input type="text" name="aptRegplan" value="${item.aptRegplan}"
								maxlength="100">	
<!-- 							<select name="productstate"> -->
<%-- 								<c:choose> --%>
<%-- 									<c:when test="${item.productstate==\"1\"}"> --%>
<!-- 									<option value="1" selected="selected">待机</option> -->
<!-- 									<option value="0">起飞</option>		 -->
<%-- 									</c:when> --%>
<%-- 									<c:otherwise> --%>
<!-- 									<option value="1">待机</option> -->
<!-- 									<option value="0" selected="selected">起飞</option>	 -->
<%-- 									</c:otherwise> --%>
<%-- 								</c:choose>								 --%>
<!-- 							</select> -->
							<div style="color: red">
								${msg}
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>
